﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Bluyel.Core
{
    /// <summary>
    /// Comparable dataValue, for int, double and char, not for bool and string.
    /// </summary>
    public interface IValueComp
    {
        //public abstract bool IsEqualsTo(IDataValue dv);


        // this > dv
        bool IsGreaterThan(IValueComp dv);

        // this < dv
        bool IsLessThan(IValueComp dv);

        // this >= dv
        bool IsGreaterEqualThan(IValueComp dv);

        // this =< dv
        bool IsLessEqualThan(IValueComp dv);
    }
}
